package com.healthcloud.service.RegionalDisease;


import com.healthcloud.entity.HlHospitalEntity;

import com.healthcloud.entity.RegionalDisease.BaseAreaCodeEntity;
import com.healthcloud.utils.PageParam;

import java.util.List;

/**
 * 行政区域编码表
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2017-11-03 10:09:26
 */
public interface BaseAreaCodeService {
	
	BaseAreaCodeEntity queryObject(Long id);
	
    List<BaseAreaCodeEntity> queryList(BaseAreaCodeEntity bean, PageParam pageParam);
	
	int queryTotal(BaseAreaCodeEntity bean);
	
	void save(BaseAreaCodeEntity baseAreaCode);
	
	void update(BaseAreaCodeEntity baseAreaCode);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	List<HlHospitalEntity> queryByLargeAreaCode(Long largeAreaCode);

	List<HlHospitalEntity> queryByAreaCode(Long areaCode);

	String  splitCode(Long areaCode);
}
